<include file="Public:header" />
<div class="span-24 bar"><a href="/">主页</a> >> <a href='__APP__/categroy/{$cate.pinyin}'>{$cate.name}</a> >> {$title}</div>
<div class="span-24 bar">
    <volist name="regions" id="region">
        <a href="{:U("categroy/$pinyin/$region[pinyin]")}">{$region.name}&nbsp;&nbsp;&nbsp;</a>
    </volist>
</div>
<div class="span-18 colborder">


    <div>
        <h3>{$title}</h3>
        开始时间 :{$starttime|date="Y-m-d",###} <br />
        结束时间 :{$endtime|date="Y-m-d",###}<br />
        地点:{$region.name}{$address}<br />
        内容{$content}<br />
        <notempty name="ipAddress">发布者ip所在地:{$ipAddress}</notempty><br />
        <notempty name="name">手机{$phone}</notempty><br />
        <notempty name="phoneAdress"> 手机所在地:{$phoneAdress}</notempty><br />
        <notempty name="qq">QQ:{$qq}</notempty><br />
        <hr />
        <div>
            <ul>

                <volist name="par" id="par">
                    <li>{$par}</li>
                </volist>
                <if condition="$attachment neq ''"><a href="__ROOT__/Attachments/Activity/{$attachment}" target="_blank" id="viewimg" title="按ESC键退出"><img src="{$attachment|getProImg = ###}" width="360"  /></a>
                    <else />
                </if>

            </ul>
            <div class="clear"></div>
        </div>

    </div>
    <hr />
    <div style="width:520px;height:340px;border:1px solid gray" id="map">
</div>
</div>
<div class="span-5 last">
{:W('Articles')}
{:W('Relation')}
</div>
<div class="clear"></div>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.1&services=true">
</script>

<if condition="$attachment neq ''">
    <script type="text/javascript" src="/min/index.php?f=Public/Js/fancybox/jquery.mousewheel-3.0.4.pack.js,Public/Js/fancybox/jquery.fancybox-1.3.4.pack.js,Public/Js/jquery.lazyload.mini.js"></script>
    <link type="text/css" rel="stylesheet" href="/min/index.php?f=Public/Js/fancybox/jquery.fancybox-1.3.4.css"/>

       <script type="text/javascript">
        $(document).ready(function() {
            $("img").lazyload({
             placeholder : "images/grey.gif",
             effect      : "fadeIn"
          });
            $("a#viewimg").fancybox({
                'titleShow'	: false
            });
        });
    </script>
 </if>
<script type="text/javascript">
var map = new BMap.Map("map");
map.centerAndZoom(new BMap.Point(116.404, 39.915), 13);
var local = new BMap.LocalSearch(map, {
  renderOptions:{map: map}
});
local.search("{$region.name}");

</script>
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-1601744-3']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
<include file="Public:footer" />